cmake_minimum_required(VERSION 3.14)
project(leetcode_cn_cpp)

set(CMAKE_CXX_STANDARD 20)

add_subdirectory(138-copy-list-with-random-pointer)
add_subdirectory(139-word-break)
add_subdirectory(140-word-break-ii)
add_subdirectory(141-linked-list-cycle)
add_subdirectory(142-linked-list-cycle-ii)
add_subdirectory(143-reorder-list)
add_subdirectory(144-binary-tree-preorder-traversal)
add_subdirectory(145-binary-tree-postorder-traversal)
add_subdirectory(146-lru-cache)
add_subdirectory(147-insertion-sort-list)
add_subdirectory(148-sort-list)
add_subdirectory(149-max-points-on-a-line)
add_subdirectory(150-evaluate-reverse-polish-notation)
add_subdirectory(151-reverse-words-in-a-string)
add_subdirectory(152-maximum-product-subarray)
add_subdirectory(153-find-minimum-in-rotated-sorted-array)
add_subdirectory(154-find-minimum-in-rotated-sorted-array-ii)
add_subdirectory(155-min-stack)
add_subdirectory(160-intersection-of-two-linked-lists)
add_subdirectory(162-find-peak-element)
add_subdirectory(164-maximum-gap)
add_subdirectory(165-compare-version-numbers)
add_subdirectory(166-fraction-to-recurring-decimal)
add_subdirectory(167-two-sum-ii-input-array-is-sorted)
add_subdirectory(168-excel-sheet-column-title)
add_subdirectory(169-majority-element)
add_subdirectory(171-excel-sheet-column-number)
add_subdirectory(172-factorial-trailing-zeroes)
add_subdirectory(173-binary-search-tree-iterator)
add_subdirectory(174-dungeon-game)
add_subdirectory(179-largest-number)
add_subdirectory(187-repeated-dna-sequences)
add_subdirectory(188-best-time-to-buy-and-sell-stock-iv)
add_subdirectory(189-rotate-array)
add_subdirectory(190-reverse-bits)
add_subdirectory(191-number-of-1-bits)
add_subdirectory(198-house-robber)
add_subdirectory(199-binary-tree-right-side-view)
add_subdirectory(200-number-of-islands)
add_subdirectory(201-bitwise-and-of-numbers-range)
add_subdirectory(202-happy-number)
add_subdirectory(203-remove-linked-list-elements)
add_subdirectory(204-count-primes)
add_subdirectory(205-isomorphic-strings)
add_subdirectory(206-reverse-linked-list)
add_subdirectory(207-course-schedule)
add_subdirectory(208-implement-trie-prefix-tree)
add_subdirectory(209-minimum-size-subarray-sum)
add_subdirectory(210-course-schedule-ii)
add_subdirectory(211-add-and-search-word-data-structure-design)
add_subdirectory(212-word-search-ii)
add_subdirectory(213-house-robber-ii)
add_subdirectory(214-shortest-palindrome)
add_subdirectory(215-kth-largest-element-in-an-array)
add_subdirectory(216-combination-sum-iii)
add_subdirectory(217-contains-duplicate)
add_subdirectory(218-the-skyline-problem)
add_subdirectory(219-contains-duplicate-ii)
add_subdirectory(220-contains-duplicate-iii)
add_subdirectory(221-maximal-square)
add_subdirectory(222-count-complete-tree-nodes)
add_subdirectory(223-rectangle-area)
add_subdirectory(224-basic-calculator)
add_subdirectory(225-implement-stack-using-queues)
add_subdirectory(226-invert-binary-tree)
add_subdirectory(227-basic-calculator-ii)
add_subdirectory(228-summary-ranges)
add_subdirectory(229-majority-element-ii)
add_subdirectory(230-kth-smallest-element-in-a-bst)
add_subdirectory(231-power-of-two)
add_subdirectory(232-implement-queue-using-stacks)
add_subdirectory(233-number-of-digit-one)
add_subdirectory(234-palindrome-linked-list)
add_subdirectory(235-lowest-common-ancestor-of-a-binary-search-tree)
add_subdirectory(236-lowest-common-ancestor-of-a-binary-tree)
add_subdirectory(237-delete-node-in-a-linked-list)
add_subdirectory(238-product-of-array-except-self)
add_subdirectory(239-sliding-window-maximum)
add_subdirectory(240-search-a-2d-matrix-ii)
add_subdirectory(241-different-ways-to-add-parentheses)
add_subdirectory(242-valid-anagram)
add_subdirectory(257-binary-tree-paths)
add_subdirectory(258-add-digits)
add_subdirectory(260-single-number-iii)
add_subdirectory(263-ugly-number)
add_subdirectory(264-ugly-number-ii)
add_subdirectory(268-missing-number)
add_subdirectory(273-integer-to-english-words)
add_subdirectory(274-h-index)
add_subdirectory(275-h-index-ii)
add_subdirectory(278-first-bad-version)
add_subdirectory(279-perfect-squares)
add_subdirectory(282-expression-add-operators)
add_subdirectory(283-move-zeroes)
add_subdirectory(284-peeking-iterator)
add_subdirectory(287-find-the-duplicate-number)
add_subdirectory(289-game-of-life)
add_subdirectory(290-word-pattern)
add_subdirectory(292-nim-game)
add_subdirectory(295-find-median-from-data-stream)
add_subdirectory(297-serialize-and-deserialize-binary-tree)
add_subdirectory(299-bulls-and-cows)
add_subdirectory(300-longest-increasing-subsequence)
add_subdirectory(301-remove-invalid-parentheses)
add_subdirectory(303-range-sum-query-immutable)
add_subdirectory(304-range-sum-query-2d-immutable)
add_subdirectory(306-additive-number)
add_subdirectory(307-range-sum-query-mutable)
add_subdirectory(309-best-time-to-buy-and-sell-stock-with-cooldown)
add_subdirectory(310-minimum-height-trees)
add_subdirectory(312-burst-balloons)
add_subdirectory(313-super-ugly-number)
add_subdirectory(315-count-of-smaller-numbers-after-self)
add_subdirectory(316-remove-duplicate-letters)
add_subdirectory(318-maximum-product-of-word-lengths)
add_subdirectory(319-bulb-switcher)
add_subdirectory(321-create-maximum-number)
add_subdirectory(322-coin-change)
add_subdirectory(324-wiggle-sort-ii)
add_subdirectory(326-power-of-three)
add_subdirectory(327-count-of-range-sum)
add_subdirectory(328-odd-even-linked-list)
add_subdirectory(409-longest-palindrome)
add_subdirectory(543-diameter-of-binary-tree)
add_subdirectory(695-max-area-of-island)
add_subdirectory(836-rectangle-overlap)
add_subdirectory(1013-partition-array-into-three-parts-with-equal-sum)
add_subdirectory(1160-find-words-that-can-be-formed-by-characters)
add_subdirectory(1071-greatest-common-divisor-of-strings)
add_subdirectory(5181-distance-between-bus-stops)
add_subdirectory(5182-maximum-subarray-sum-with-one-deletion)
add_subdirectory(5183-day-of-the-week)
add_subdirectory(5184-make-array-strictly-increasing)
add_subdirectory(5189-maximum-number-of-balloons)
add_subdirectory(5190-reverse-substrings-between-each-pair-of-parentheses)
add_subdirectory(5191-k-concatenation-maximum-sum)
add_subdirectory(5192-critical-connections-in-a-network)
add_subdirectory(01-06-compress-string-lcci)
add_subdirectory(40-zui-xiao-de-kge-shu-lcof)